import excludeDependenciesFromBundle from 'rollup-plugin-exclude-dependencies-from-bundle'
import baseConfig from './rollup.config'

const esmConfig = {
	...baseConfig,
	output: [
		{
			file: 'dist/index.es.js',
			format: 'es'
		}
	],
	plugins: [...baseConfig.plugins, excludeDependenciesFromBundle()]
}

export default esmConfig
